﻿<%@ Page Language="C#" MasterPageFile="~/Share/Agent.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="Agent_Default" Title="个人信息" %>

<%@ Register Src="../Control/AgentMenu.ascx" TagName="AgentMenu" TagPrefix="uc1" %>
<%@ Register Assembly="mybutton" Namespace="BlogLan.Web.Controls" TagPrefix="cc1" %>
<%@ Register Src="../Control/Area.ascx" TagName="Area" TagPrefix="uc1" %>
<%@ Register Src="~/Control/Agent_Account_Menu.ascx" TagName="Agent_Account_Menu"
    TagPrefix="MC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="../JS/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="../JS/AreaAjax.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            var provintce = $(".hfProvince").val();
            var city = $(".hfCity").val();
            var district = $(".hfDistrict").val();
            //alert(provintce+"$"+city+"$"+district)
            $(".ddlProvince").val(provintce);
            getCity(provintce, city);
            getDistrict(city, district);
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="Server">
    <MC:Agent_Account_Menu ID="Agent_Account_Menu" runat="server" />
    <asp:Localize ID="errors" runat="server"></asp:Localize>
    <div class="grxx_1_2">
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                会员账号：</div>
            <div class="grxx_1_4_1">
                <asp:Localize ID="lUserName" runat="server"></asp:Localize>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                性 别：</div>
            <div class="grxx_1_7" style=" text-align:left">
                <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Text="男" Value="男"></asp:ListItem>
                    <asp:ListItem Text="女" Value="女"></asp:ListItem>
                </asp:RadioButtonList>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                真实姓名：</div>
            <div class="grxx_1_5">
               <asp:TextBox ID="tbName" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                电子邮箱：</div>
            <div class="grxx_1_4_1">
                <asp:Localize ID="lEmail" runat="server"></asp:Localize>
            </div>
        </div>
        <div class="grxx_1_3_1">
            <div class="grxx_1_4_2">
                我的头像：</div>
            <div class="grxx_1_10">
                <div class="grxx_1_11">
                    <asp:Image ID="iPhoto" runat="server" ImageUrl="/images/grxx/pic.gif" />
                </div>
                <div class="grxx_1_12">
                    <div class="grxx_1_13">
                        <asp:FileUpload ID="uploadFile" runat="server" />
                    </div>
                    <div class="grxx_1_16">
                        上传说明：<br>
                        1、支持 .jpeg 、jpg 、 .gif等图片格式
                        <br>
                        2、图片宽高比例尽量接近正方形<br>
                    </div>
                </div>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                身份证号码：</div>
            <div class="grxx_1_5">
               <asp:TextBox ID="tbIDCard" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                我的生日：</div>
            <div class="grxx_1_5">
                <asp:TextBox ID="tbBirth" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                我的公司：</div>
            <div class="grxx_1_5">
              <asp:TextBox ID="tbCompany" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                我的职业：</div>
            <div class="grxx_1_5">
                <asp:TextBox ID="tbPost" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                个人网址：</div>
            <div class="grxx_1_5">
                <asp:TextBox ID="tbWeb" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                所在城市：</div>
            <div class="grxx_1_5_1" style="width:auto">
              <uc1:Area ID="Area" runat="server" />
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                通讯地址：</div>
            <div class="grxx_1_5">
               <asp:TextBox ID="tbAddress" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
            <div class="grxx_1_18">
                请填写详细地址，以便我们与您联系。</div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                邮 编：</div>
            <div class="grxx_1_5">
                <asp:TextBox ID="tbZipCode" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                联系电话：</div>
            <div class="grxx_1_5_2">
                <asp:TextBox ID="tbTel_QuHao" runat="server" CssClass="grxx_1_6_2"></asp:TextBox>
            </div>
            <div class="grxx_1_19">
               <asp:TextBox ID="tbTel" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
            <div class="grxx_1_18">
                （区号+号码）</div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                传 真：</div>
            <div class="grxx_1_5_2">
                <asp:TextBox ID="tbFax_QuHao" runat="server" CssClass="grxx_1_6_2"></asp:TextBox>
            </div>
            <div class="grxx_1_19">
               <asp:TextBox ID="tbFax" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
            <div class="grxx_1_18">
                （区号+号码）</div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                手 机：</div>
            <div class="grxx_1_5">
               <asp:TextBox ID="tbMobile" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                MSN：</div>
            <div class="grxx_1_5">
               <asp:TextBox ID="tbMSN" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                QQ：</div>
            <div class="grxx_1_5">
               <asp:TextBox ID="tbQQ" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_3">
            <div class="grxx_1_4">
                阿里旺旺：</div>
            <div class="grxx_1_5">
               <asp:TextBox ID="tbAliWW" runat="server" CssClass="grxx_1_6"></asp:TextBox>
            </div>
        </div>
        <div class="grxx_1_21">
        <asp:ImageButton ID="btnSave" runat="server" ImageUrl="/images/grxx/button_bc.gif" OnClick="save_Click" />
        </div>
    </div>
    
    <input id="hfProvince" runat="server" type="hidden" class="hfProvince" />
    <input id="hfCity" runat="server" type="hidden" class="hfCity" />
    <input id="district" runat="server" type="hidden" class="hfDistrict" />
    <input id="hfPhoto" runat="server" type="hidden" />
</asp:Content>
